package org.spring.springboot.exception.service;

import java.util.Map;

import org.spring.springboot.exception.common.ascept.Result;
import org.spring.springboot.exception.common.selfex.BusinessException;
import org.spring.springboot.exception.domain.City;

/**
 * 城市业务逻辑接口类
 *
 * Created by bysocket on 07/02/2017.
 */
public interface CityService {

    /**
     * 根据城市名称，查询城市信息
     * @param cityName
     * @throws BusinessException 
     */
	Result<City> findCityByName(String cityName) throws BusinessException;

	Result<Map<String, String>> findCitys() throws BusinessException;
}
